put (R2*R3*(R1+R4)+R1*R4*(R2+R3)+R5*(R1+R3)*(R2+R4))/ ((R1+R2)*(R3+R4)+R5*(R1+R2+R3+R4)) into RE
end if
end if
end if
set numberFormat to "0.000"
put RE/1 into card field "Req"
end calculate
on closeField
put "" into card field "Req"
end closeField
-- part 4 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=250 top=32 right=47 bottom=301
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: R3
-- part 6 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=134 top=32 right=47 bottom=185
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: R1
-- part 7 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=135 top=202 right=217 bottom=186
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: R2
-- part 8 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=250 top=202 right=217 bottom=301
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: R4
-- part 9 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=139 top=114 right=130 bottom=196
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: R5
-- part 10 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=202 top=266 right=281 bottom=253
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Req
-- part 11 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=373 top=149 right=171 bottom=473
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Calculate
----- HyperTalk script -----
on mouseUp
send calculate
end mouseUp
-- part 12 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=352 top=49 right=113 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part contents for background part 8
----- text -----
C5. Resistor Network
-- part contents for card part 6
----- text -----
10
-- part contents for card part 4
----- text -----
20
-- part contents for card part 7
----- text -----
20
-- part contents for card part 8
----- text -----
10
-- part contents for card part 9
----- text -----
10
-- part contents for card part 12
----- text -----
Find the equivalent resistance by apply-ing Kirchhoff's rules. That is, put a known emf across the term-inals and calculate the current through the emf using Kirchhoff's rules. The emf divided by the current is the equivalent resis-tance.